package com.hq.dao;

import com.hq.bean.City;
import com.hq.bean.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserDao {
    public int login(@Param("name") String name,@Param("password") String password);
    public List<User> list(Map map);
    public List<City> city(Integer pid);
    public int add(User user);
    public User getById(Integer id);
    public int upd(User user);
}
